<?php /* Smarty version Smarty-3.1.12, created on 2012-10-24 16:13:01
         compiled from "D:\project\myProject\Admin\template\register.tpl" */ ?>
<?php /*%%SmartyHeaderCode:289475087a12779f052-90164544%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '41552f5ff94dde9e58c7a770f7bcfb1e674671ef' => 
    array (
      0 => 'D:\\project\\myProject\\Admin\\template\\register.tpl',
      1 => 1351066378,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '289475087a12779f052-90164544',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.12',
  'unifunc' => 'content_5087a12780fa96_18499837',
  'variables' => 
  array (
    'emailverify' => 0,
    'forbiddenip' => 0,
    'siteurl' => 0,
    'adminpath' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5087a12780fa96_18499837')) {function content_5087a12780fa96_18499837($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<body>
    <script type="text/javascript">
           $(document).ready(function(){
                $.formValidator.initConfig({formID:"regisiter",onError:function(){alert("校验没有通过，具体错误请看错误提示")}});
                $("#emailverify").formValidator({onShow:"如果开启,那么邮件激活后才能登陆",onFocus:"如果开启,那么邮件激活后才能登陆",onCorrect:""});
                $("#forbiddenip").formValidator({onShow:"每个 IP 一行，既可输入完整地址，也可只输入 IP 开头，例如 192.168.'(不含引号) 可匹配 192.168.0.0～192.168.255.255 范围内的所有地址，留空为不设置",onFocus:"每个 IP 一行，既可输入完整地址，也可只输入 IP 开头，例如 '192.168.'(不含引号) 可匹配 192.168.0.0～192.168.255.255 范围内的所有地址，留空为不设置",onCorrect:""});
                $("#siteurl").formValidator({onShow:"比如http://www.baidu.com 结尾不要留有/请必须正确填写,否则会造成图片不能显示及链接路径有错",onFocus:"比如http://www.baidu.com 结尾不要留有/请必须正确填写,否则会造成图片不能显示及链接路径有错",onCorrect:""});
                $("#adminpath").formValidator({onShow:"不能留空,如果你把后台目录admin改名后.这里也要跟着修改,否则标签不能设置",onFocus:"不能留空,如果你把后台目录admin改名后.这里也要跟着修改,否则标签不能设置",onCorrect:""});
            });
           
        </script>
    <div class="admin_right_base">
        <div class="admin_right">
            <form action="?base-register" method="post" id="regisiter">
                <table cellpadding="0" cellspacing="0" border="0" width="100%" class="regisiter">
                        <tr>
                                    <td width="20%" align="right">是否开启邮箱验证:</td>
                                    <td width="30%"><input type="radio" name="register[emailverify]" id="emailverify" value="0" <?php if ($_smarty_tpl->tpl_vars['emailverify']->value==0){?>checked<?php }?>/>&nbsp;&nbsp;否 &nbsp;&nbsp;<input type="radio" name="register[emailverify]" value="1" <?php if ($_smarty_tpl->tpl_vars['emailverify']->value==1){?>checked<?php }?> />&nbsp;&nbsp;是</td>
                                    <td><div id="emailverifyTip"></div></td>
                        </tr>
                        <tr>
                                    <td align="right">限注册IP列表:</td>
                                    <td><textarea cols="30" name="register[forbiddenip]" id="forbiddenip" rows="5" /><?php echo $_smarty_tpl->tpl_vars['forbiddenip']->value;?>
</textarea></td>
                                    <td><div id="forbiddenipTip"></div></td>
                        </tr>
                        <tr>
                                    <td align="right">整站访问地址:</td>
                                    <td><input type="text" name="register[siteurl]" id="siteurl" value="<?php echo $_smarty_tpl->tpl_vars['siteurl']->value;?>
" /> </td>
                                    <td><div id="siteurlTip"></div></td>
                        </tr>
                        <tr>
                                    <td align="right">后台访问地址:</td>
                                    <td><input type="text" name="register[adminpath]" id="adminpath" value="<?php echo $_smarty_tpl->tpl_vars['adminpath']->value;?>
"/></td>
                                    <td><div  id="adminpathTip"></div></td>
                        </tr>
                        <tr>
                            <td colspan="3"><div class="base_btn"><input type="submit" name="submit" value="提交" /></div></td>
                        </tr>
                </table>
                </form>
        </div>
    </div>
</body><?php }} ?>